@charset "utf-8";

/* app css stylesheet */
.scroll{
  overflow: auto;
}
.noscroll{
  overflow: hidden;
}
.mask{
  position: fixed;
  z-index: 99;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
}
.display{
  display: block !important;
}
.nodisplay{
  display: none !important;
}
.menu {
  list-style: none;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-padding-start: 0;
  width: 100%;
  height: 80%;
  background: dodgerblue;
  color:white;
  position: fixed;
  top:0;
  left: 0;
  z-index: 100;
  display: none;
  >li{
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.2);
    >a{
      display: block;
      color:white;
      height: 40px;
      line-height: 40px;
      width: 100%;
      padding: 0 15px 0 15px;
      &:hover{
        color:yellow;
      }
      &:active{
        color:yellow;
      }
    }
  }
}
.content{
  width: 100%;
}
.footer{
  height: 30px;
  line-height: 30px;
  width: 100%;
  background: #0e90d2;
  color: white;
  padding: 0 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 98;
}

/*手风琴效果*/
.expander{
  padding: 0 0;
  >.expander-title{
    height: 2.5em;
    line-height: 2.5em;
    color: white;
    background-color: #0e90d2;
    border-top: 1px solid rgba(0,0,0,.1);
    border-left:1px solid rgba(0,0,0,.1);
    border-right:1px solid rgba(0,0,0,.1);
    padding: 0 10px;
  }
  >.expander-content{
    min-height: 50px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    border-left:1px solid rgba(0,0,0,.1);
    border-right:1px solid rgba(0,0,0,.1);
    padding: 0 10px;
    background-color: #f8f8f8;
  }
}

/* iphone选择器 */
input.iphone-check[type=checkbox] {
  visibility: hidden;

}
input.iphone-checked + label.iphone-label-checked{
  padding: 0 0 0 0!important;
  margin: 0;
  width: 40px;
  height: 21px;
  border-radius: 10.5px;
  background: #fafbfa;
  display: inline-block;

  &:before{
    content: '';
    height: 21px;
    width: 100%;
    overflow:hidden;
    position: absolute;
    background: #4cda60;
    border-radius: 10.5px;
    box-shadow: 0 0 1px #4cda60;
    z-index: 4;
    -webkit-transition: box-shadow 0.1s ease-in;
    transition: box-shadow 0.1s ease-in;
  }
  &:after{
    content:"";
    background: #fafbfa;
    height:20px;
    width: 20px;
    border-radius: 10px;
    box-shadow: 0 0 1px #4cda60;
    position: absolute;
    z-index: 5;
    left:19px;
    -webkit-transition: box-shadow 0.1s ease-in;
    transition: box-shadow 0.1s ease-in;
  }
}

input.iphone-unchecked + label.iphone-label-unchecked{
  padding: 0 0 0 0!important;
  margin: 0;
  width: 40px;
  height: 21px;
  border-radius: 10.5px;
  background: #fafbfa;
  display: inline-block;

  &:before{
    content: '';
    height: 21px;
    width: 100%;
    overflow:hidden;
    position: absolute;
    border-radius: 10.5px;
    background: #fafbfa;
    box-shadow: 0 3px 1px rgba(0,0,0,0.05), 0 0px 1px rgba(0,0,0,0.3);
    z-index: 4;
    -webkit-transition: box-shadow 0.1s ease-in;
    transition: box-shadow 0.1s ease-in;
  }
  &:after{
    content:"";
    height:20px;
    width: 20px;
    border-radius: 10px;
    background: #fafbfa;
    box-shadow: 0 3px 1px rgba(0,0,0,0.05), 0 0px 1px rgba(0,0,0,0.3);
    position: absolute;
    z-index: 5;
    -webkit-transition: box-shadow 0.1s ease-in;
    transition: box-shadow 0.1s ease-in;
  }
}
/* tabs */
.tabbable{
  ul.nav{
    list-style-type: none;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    >li{
      display:inline-block;
      background-color: gainsboro;
      border: 1px solid rgba(0,0,0,0.07);
      min-width: 50px;
      padding: 0 10px;
      text-align: center;
      >a{
        color: black;
      }
    }
    >li.active{
      background-color:whitesmoke ;
      >a{
        color: dodgerblue;
      }
    }

  }
  >.tab-content{
    >.tab-pane{
      display: none;
    }
    .active{
      display: block!important;
    }
  }
}
